<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * For example, it puts together the home page when no home.php file exists.
 *
 * @link http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Lebanon_Times
 * @since Lebanon Times 1.0
 */
get_header(); 

include dirname(__FILE__)."/categoryMapping.php";

?>
	
		<div class="row" style="margin-top: 0px;">
			<!-- Right Column -->
			<div class="span8 pull-right">
				<?php get_template_part( 'breaking_news' ); ?>
				<!-- Dual Widget -->
				<?php get_template_part( 'daul_widget' ); ?>
			</div>
			<!-- Left Column -->
			<div class="span3">
				<div style="clear: both; position: relative;">
					<a href="<?php echo esc_url( home_url( '/' ) ); ?>معرض-الصور/" style="width: 50%; height: 260px; position: absolute; top:0px; right: 25%; z-index: 999;"></a>
					<?php if (function_exists('slideshow')) { slideshow(true, "1", false, array()); } ?>
					<style type="text/css">
						#slideshow-wrapper {
							height: 260px;
							width: 270px;
						}
						#slideshow-wrapper #fullsize {
							height: 260px;
							width: 270px;
						}
						#slideshow-wrapper #slidearea {
							width: 100%;
							background: transparent;
							margin-left: 0px;
						}
						#slideshow-wrapper .imgnav, #slideshow-wrapper #imglink {
							height: 260px;
						}
						#slideshow-wrapper #information {
							width: 270px;
							color: #FFF;
						}
						#slideshow-wrapper #information h3 {
							font-weight: normal;
							font-size: 16px;
						}
						#slideshow-wrapper #image {
							height: 260px;
							width: 270px;
						}
						#slideshow-wrapper #image img {
							height: 100%;
							width: auto;
						}
						#slideshow-wrapper #slideright {
							background: url("<?php echo get_template_directory_uri(); ?>/images/slide-right.png") no-repeat center center transparent;
							height: 40px;
							position: absolute;
							top: 80px;
							right: 105px;
							width: 30px;
						}
						#slideshow-wrapper #slideleft {
							background: url("<?php echo get_template_directory_uri(); ?>/images/slide-left.png") no-repeat center center transparent;
							height: 40px;
							position: absolute;
							top: 80px;
							left: 105px;
							width: 30px;
						}
						#slideshow-wrapper #slideright:hover {
							background: url("<?php echo get_template_directory_uri(); ?>/images/slide-right.png") no-repeat center center transparent;
						}
						#slideshow-wrapper #slideleft:hover {
							background: url("<?php echo get_template_directory_uri(); ?>/images/slide-left.png") no-repeat center center transparent;
						}
						#slideshow-wrapper #thumbnails {
							background: none;
							position: relative;
						}
					</style>
				</div>
			</div>
		</div>

		<!-- Top News tape -->
		<div class="row" style="margin-top: 0px; margin-bottom: 0px;">
			<div class="span11" style="background-color: #E1F0FB; color: #333;">
				<div class="newsTabeMarker"><div class="arrow-left"></div></div>
				<?php if (function_exists (ptmsshow)) ptmsshow(); ?>
			</div>
		</div>
		<!-- Three Columns Section -->
		<div class="row">
			<div class="span3 pull-right">
				<?php lebanontimes_get_right_column(); ?>
			</div>
			<div class="span5 pull-right">
				<?php get_template_part( 'triple_widget' ); ?>

				<!-- Civil Society -->
				<?php get_template_part( 'multi_lingual_widget' ); ?>

				<!-- Last Video -->
				<?php get_template_part( 'lt-last_video' ); ?>
			</div>
			<div class="span3">
	            <?php lebanontimes_get_left_column(); ?>
			</div>
		</div>
	</div> <!-- Container div -->
</div> <!-- Full width div -->
<div id="lowerPart">
	<div class="container">
		<div class="row">
			<div class="span3 pull-right">
				
				<!-- Press -->
				<?php get_template_part( 'lt-press' ); ?>

				<?php get_template_part( 'lt-foreign_articles' ); ?>

				<?php get_template_part( 'lt-weather' ); ?>
			</div>
			<div class="span5 pull-right">

				<!-- Sports -->
				<?php get_template_part( 'lt-sports' ); ?>

				<!-- Culture -->
				<?php get_template_part( 'lt-culture' ); ?>

				<!-- Art -->
				<?php get_template_part( 'lt-art' ); ?>
			</div>
			<div class="span3">

				<!-- Economy-->
				<?php get_template_part( 'lt-economy' ); ?>

				<!-- Technology-->
				<?php get_template_part( 'lt-technology' ); ?>

				<!-- Cocktail-->
				<?php get_template_part( 'lt-cocktail' ); ?>
			</div>
			<div class="span8 pull-left">
				<!-- Cocktail-->
				<?php get_template_part( 'lt-videos' ); ?>
			</div>
		</div>

<?php get_footer(); ?>